package com.ruoyi.noticeCl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告管理对象 sys_notice_cl
 * 
 * @author zzzyh
 * @date 2025-09-15
 */
public class SysNoticeCl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String content;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Long isShow;

    /** 显示位置 （top：顶部，right:右侧） */
    @Excel(name = "显示位置 ", readConverterExp = "t=op：顶部，right:右侧")
    private String position;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("isShow", getIsShow())
            .append("position", getPosition())
            .append("createTime", getCreateTime())
            .toString();
    }
}
